﻿using CQIE.TES.Model;
using CQIE.TES.WEB.USER.Models;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;

namespace CQIE.TES.IService
{
    public interface IClass_Service
    {
        /// <summary>
        ///班级管理分页、查询
        /// </summary>
        /// <param name="page"></param>
        /// <param name="limit"></param>
        /// <param name="search"></param>
        /// <param name="count"></param>
        /// <returns></returns>
        List<Class_> GetClass_Page(int page, int limit, string search, out int count, ENUM_Graduate root);


        /// <summary>
        /// 逻辑删除班级（毕业班级）
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        /// 
        bool DeleteClass_(int id);



        /// <summary>
        /// 添加班级信息
        /// </summary>
        /// <param name="data"></param>
        void InsertClass_([FromBody] JObject data);


        List<Class_> GetClassIDToStudent();
    }
}
